Appearance-Compliant Draw State Constants
NEW WITH THE APPEARANCE MANAGER
You can pass constants of typeThemeDrawState
in theinState
parameter of functions used for drawing human interface elements to specify whether they are drawn as active (normal), selected (pressed), or inactive (disabled). For descriptions of the functions that use these constants, see "Drawing Appearance-Compliant Controls".
enum { kThemeStateDisabled = 0, kThemeStateActive = 1, kThemeStatePressed = 2 }; typedef UInt32 ThemeDrawState;Constant descriptions
kThemeStateDisabled
- Element is drawn in its disabled, inactive state.
kThemeStateActive
- Element is drawn in its normal, active state.
kThemeStatePressed
- Element is drawn in its selected, pressed state.